#pragma once

#if defined (_MSC_VER)
#   ifdef CPPXOIS_EXPORTS
#       define CPPXOIS_API __declspec(dllexport)
#   else
#       define CPPXOIS_API __declspec(dllimport)
#       include "../cppx.core/dllmain.h"
#       ifdef CPPX_USE_AUTOLINK
#           pragma comment(lib,GET_CPPX_LIB_NAME(cppx.luavm))
#           pragma message("Linking to lib file: " GET_CPPX_LIB_NAME(cppx.luavm))
#       endif // CPPX_USE_AUTOLINK
#   endif
#endif // _MSC_VER

#ifndef CPPXOIS_API
#define CPPXOIS_API
#endif
